package com.zsqat.eshop.product.fallback;

import com.zsqat.common.enums.BizCodeEnum;
import com.zsqat.common.utils.R;
import com.zsqat.eshop.product.feign.SeckillFeignService;
import org.springframework.stereotype.Component;

@Component
public class SeckillFeignServiceFallBack implements SeckillFeignService {
  @Override
  public R getSkuSeckilInfo(Long skuId) {
    return R.error(BizCodeEnum.TO_MANY_REQUEST.getCode(),BizCodeEnum.TO_MANY_REQUEST.getMessage());
  }
}
